Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Setting Points and Vectors


Q3Point2D_Set

You can use the Q3Point2D_Set function to set the coordinates of a two-dimensional point.

TQ3Point2D *Q3Point2D_Set (
TQ3Point2D *point2D, 
float x, 
float y);
point2D
A two-dimensional point.
x
The x coordinate of the point.
y
The y coordinate of the point.
DESCRIPTION
The Q3Point2D_Set function returns, as its function result and in the point2D parameter, the two-dimensional point specified by the x and y parameters.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996